grails.servlet.version = "3.0"
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.work.dir = "target/work"
grails.project.target.level = 1.7
grails.project.source.level = 1.7

grails.server.port.http = 8090

grails.project.fork = [
        test   : [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, daemon: true],
        run    : [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve: false],
        war    : [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve: false],
        console: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256]
]

grails.project.dependency.resolver = "maven"
grails.project.dependency.resolution = {
    inherits("global") {
    }
    log "info"
    checksums true
    legacyResolve false

    repositories {

        mavenRepo "http://218.29.222.110:8090/nexus/content/groups/public/"
        mavenLocal()
    }

    dependencies {
        runtime 'com.oracle:ojdbc6:11.2.0.3.0'
        //runtime 'com.microsoft.sqlserver.jdbc:sqljdbc4:4.0'
        //runtime 'mysql:mysql-connector-java:5.1.29'
        runtime 'org.apache.httpcomponents:httpclient:4.5'
        runtime 'javax.mail:mail:1.4.7'
        runtime 'org.jsoup:jsoup:1.8.2'
        //runtime 'com.typesafe.akka:akka-actor_2.11:2.4.1'
        test "org.grails:grails-datastore-test-support:1.0.2-grails-2.4"
    }

    plugins {
       // runtime ":shiro:1.2.1"
        build ":tomcat:7.0.55"
        compile ":scaffolding:2.1.2"
        compile ':cache:1.1.8'
        compile ":asset-pipeline:1.9.9"
        runtime ":hibernate4:4.3.6.1"
        runtime ":database-migration:1.4.0"
        runtime ":jquery:1.11.1"
    }
}
